package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {
    /**
     * 新增护理计划项目
     * @param projectPlans
     */
    //@Insert("insert into nursing_project_plan(plan_id,project_id,execute_time,execute_cycle,execute_frequency,remark)" +
            //"values (#{planId},#{projectId},#{executeTime},#{executeCycle},#{executeFrequency},#{remark})")

    void saveBatch(List<NursingProjectPlan> projectPlans);

    /**
     * 删除护理计划项目
     * @param id
     */
    void deleteNursing(List<Integer> id);
}
